package com.tlr.device.model;

import com.tfb.rong.CustomJsonDateTimeDeserializer;
import com.tfb.rong.CustomJsonDateTimeSerializer;
import java.util.Date;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

public class HikiData {

    private String id;

    private String mac;

    private Integer filter1;

    private Integer filter2;

    private Integer filter3;

    private Integer filter4;

    private Integer pm25;

    private String hcho;

    private String tvoc;

    private Integer co2;

    private String temp;

    private String humi;

    private String lati;

    private String lang;

    private Date gettime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getLati() {
        return lati;
    }

    public void setLati(String lati) {
        this.lati = lati;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac == null ? null : mac.trim();
    }

    public Integer getFilter1() {
        return filter1;
    }

    public void setFilter1(Integer filter1) {
        this.filter1 = filter1;
    }

    public Integer getFilter2() {
        return filter2;
    }

    public void setFilter2(Integer filter2) {
        this.filter2 = filter2;
    }

    public Integer getFilter3() {
        return filter3;
    }

    public void setFilter3(Integer filter3) {
        this.filter3 = filter3;
    }

    public Integer getFilter4() {
        return filter4;
    }

    public void setFilter4(Integer filter4) {
        this.filter4 = filter4;
    }

    public Integer getPm25() {
        return pm25;
    }

    public void setPm25(Integer pm25) {
        this.pm25 = pm25;
    }

    public String getHcho() {
        return hcho;
    }

    public void setHcho(String hcho) {
        this.hcho = hcho == null ? null : hcho.trim();
    }

    public String getTvoc() {
        return tvoc;
    }

    public void setTvoc(String tvoc) {
        this.tvoc = tvoc == null ? null : tvoc.trim();
    }

    public Integer getCo2() {
        return co2;
    }

    public void setCo2(Integer co2) {
        this.co2 = co2;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp == null ? null : temp.trim();
    }

    public String getHumi() {
        return humi;
    }

    public void setHumi(String humi) {
        this.humi = humi == null ? null : humi.trim();
    }

    @JsonSerialize(using = CustomJsonDateTimeSerializer.class)
    public Date getGettime() {
        return gettime;
    }

    @JsonDeserialize(using = CustomJsonDateTimeDeserializer.class)
    public void setGettime(Date gettime) {
        this.gettime = gettime;
    }
}
